import { ApiProperty } from '@nestjs/swagger';
import { IsInt } from 'class-validator';

export class AppClassificationDtoParams {
  @ApiProperty({ required: false })
  name: string;
}

export class AppClassificationListDto {
  @ApiProperty()
  @IsInt()
  pageSize: number;

  @ApiProperty()
  @IsInt()
  pageNum: number;

  // @ApiProperty()
  // @ValidateNested()
  // @Type(() => AppClassificationDtoParams)
  // params: AppClassificationDtoParams;
}
